POV-Ray : Newsgroups : povray.general : POV-Ray lighting model vs Rayshade : Re: POV-Ray lighting model vs Rayshade Server Time
30 Jul 2024 20:28:21 EDT (-0400)
  Re: POV-Ray lighting model vs Rayshade  
From: Grim Reaper
Date: 6 Jun 2008 07:50:00
Message: <web.484923ac4c6c80f26863987c0@news.povray.org>
Alain <ele### [at] netscapenet> wrote:

> In POV-Ray you can always set those parameters with a full colour instead of
> shades of gray. diffuse 1 get promoted to diffuse<1,1,1>.
>
> The following are all legal:
> ambient <1,0.5,0.1>/10 // give a red tint to your shadowed areas. Also to the
> rest of the object.
> diffuse <0.2, 1, 0.898> // This object will apears blue-green
> specular <0.5,0.3,0.8> // bluish megenta specular highlights.
> phong <0,1,0> // green phong highlight
>
> If you want rgb value in the 0-255 range, just divide the colour vector by 255.

Tried it, but the only one that allows a vector is ambient, the others do not.
Also the ambient vector does not work as expected, instead of setting the
ambient colour to that colour it just seems to change it to the equivalent
percentage (float) value.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.